package cn.wolfcode.shop.cloud.util;

import cn.wolfcode.shop.cloud.common.CodeMsg;

public class SeckillCodeMsg extends CodeMsg {
    public SeckillCodeMsg() {
    }

    public SeckillCodeMsg(String msg, int code) {
        super(msg, code);
    }

    public static final  SeckillCodeMsg GOODS_ERROR = new SeckillCodeMsg("调用商品服务繁忙", 50301);
    public static final  SeckillCodeMsg SECKILL_OPT = new SeckillCodeMsg("违法操作", 50302);
    public static final  SeckillCodeMsg SECKILL_REPEAT_ERROR = new SeckillCodeMsg("不能重复下单", 50303);
    public static final  SeckillCodeMsg SECKILL_STOCKCOUNT_OVER = new SeckillCodeMsg("库存不足", 50304);
    public static final  SeckillCodeMsg SECKILL_ORDER_FAIL = new SeckillCodeMsg("秒杀失败", 50305);
    public static final  SeckillCodeMsg VERIFY_CODE_NOT_EMPTY = new SeckillCodeMsg("验证码不能为空", 50306);
    public static final  SeckillCodeMsg VERIFY_CODE_ERROR = new SeckillCodeMsg("验证码错误", 50307);
}
